﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;
using System.Data;

namespace BUS
{
    public class KhachHang_BUS
    {
        //Load KhachHang
        public static DataTable LoadKhachHang()
        {
            return KhachHang_DAO.LoadDSKhachHang();
        }
        //Them KhachHang
        public static void ThemKhachHang(KhachHang_DTO kh)
        {
            KhachHang_DAO.ThemKhachHang(kh);
        }


        //Xoa KhachHang
        public static void XoaKhachHang(string makh)
        {
            KhachHang_DAO.XoaKhachHang(makh);
        }
        //Tim ten KhachHang
        public static DataTable TimTen(string ten)
        {
            return KhachHang_DAO.TimTenKH(ten);
        }
    }
}
